﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Domain.SupplierDomain;
using Traceability.Domain.TraceabilityDto;

namespace Traceability.Domain.Service.PackagingMaterialsServices
{
    /// <summary>
    /// 包材接口
    /// </summary>
    public interface IPackagingMaterialsService
    {
        Task<int> AddPackagingMaterials(PackagingMaterials packagingMaterials);

        Task<List<PackagingMaterialsDto>> GetAllPackagingMaterials(int shoppingId);

        Task<int> UpdatePackagingMaterials(PackagingMaterials packagingMaterials);

        Task<int> DeletePackagingMaterials(int packagingMaterialsId, string userMame);

        Task<PackagingMaterials> GetPackagingMaterialsModel(int packagingMaterialsId);
    }
}
